function updateCustomerView() {
	this.parent();
} 

updateCustomerView.inherits(BaseView, {
	init : function() {
		 this.createUpdateCusView(this.ctrl.model.cusId, this.ctrl.model.cusName, this.ctrl.model.cusLName, this.ctrl.model.cusFName,
			 this.ctrl.model.cusEmail, this.ctrl.model.cusAddr, this.ctrl.model.cusPhone, this.ctrl.model.banned);
	},
	
	createUpdateCusView:function(cusId, cusName, cusLName, cusFName, cusEmail, cusAddr, cusPhone, banned){
		$id("txtUpdateCusId").setAttribute("value", cusId);
		$id("txtUpdateCusUserName").setAttribute("value", cusName);
		$id("txtUpdateCusLastName").setAttribute("value", cusLName);
		$id("txtUpdateCusFirstName").setAttribute("value", cusFName);
		$id("txtUpdateCusEmail").setAttribute("value", cusEmail);
		var ddlBan = document.getElementById("txtUpdateCusIsBan");
		var opts = ddlBan.options.length;
		for (var i=0; i<length; i++){
			if(ddlBan.options[i].value == banned){
				ddlBan.selectedIndex = i;
				break;
			}			
		}			
		$id("txtUpdateCusPhone").setAttribute("value", cusPhone);
		$id("txtUpdateCusAddress").setAttribute("value", cusAddr);
		$id("btnUpdateCus").setAttribute("onclick", "onClickUpdateCustomer()");
	}
	
});